package me.fung.keen.component.message

import me.fung.keen.common.DataWrapper

class MessageModel : DataWrapper<Message>(Message.None) {

    fun send(message: MessageBuilder.() -> Message) {
        update { MessageBuilder.message() }
    }

    fun done() {
        update { Message.None }
    }
}
